// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import VueRouter from 'vue-router'
Vue.use(VueRouter)

Vue.config.productionTip = false

import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
Vue.use(MuseUI)

import body1 from './components/body1/body1';
import body2 from './components/body2/body2';
import body3 from './components/body3/body3';
import body4 from './components/body4/body4';
import body5 from './components/body5/body5';

let vueRouter=new VueRouter({
	routes:[
		{path:'',redirect:'tab1'},
		{path:'/tab1',component:body1},
		{path:'/tab2',component:body2},
		{path:'/tab3',component:body3},
		{path:'/tab4',component:body4},
		{path:'/tab5',component:body5}
	]
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router:vueRouter,
  render: h => h(App) 
})
